<template>
  <div class="content">
    <div class="middle-right-box">
      <ul id="dy">
        <img src="~assets/img/sy/dz-mark.png" alt="党政建设" class="dz-mark" />
        <li v-for="item in dangjian">
          <div class="dz-num">{{ item.value }}</div>
          <span>{{ item.name }}</span>
        </li>
      </ul>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      dangjian: [
        {
          name: "党员数量",
          value: 39,
        },
        {
          name: "团员数量",
          value: 0,
        },
        {
          name: "预备党员",
          value: 0,
        },
        {
          name: "入党申请人",
          value: 3,
        },
      ],
    };
  },

  mounted() {},

  methods: {},
};
</script>

<style lang="scss" scoped>
.content {
  width: 100%;
  height: 100%;
  .middle-right-box {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  
    ul {
      position: relative;
      width: 80%;
      height: 85%;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-content: center;
  
      .dz-mark {
        width: 3.75rem;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
      }
  
      li {
        width: 48%;
        color: #00f0ff;
        font-size: 0.875rem;
        background: rgba(0, 54, 255, 0.2);
        border: 0.0625rem solid #022ece;
        margin: 0.625rem 0;
        padding: 0.3125rem 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
      }
  
      .dz-num {
        font-size: 1.625rem;
        font-family: "shuzi";
      }
    }
  }
}
</style>